<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1">
  <title></title>
  <link rel="stylesheet" type="text/css" href="modal.css">
  <script src="/assets/js/def.js"></script>
  <script src="index.js"></script>
  <style>
    .modal {
      padding: 10px 20px;
    }
  </style>
</head>

<body>
  <script>
  $.get('template.html', function(template) {
    modal('I have my modal', {template: template}).show();
  })
  </script>
</body>

</html>
